#include "touchcheckdialog.h"
#include "ui_touchcheckdialog.h"

TouchCheckDialog::TouchCheckDialog(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::TouchCheckDialog)
{
    ui->setupUi(this);
    move(0,0);
    this->setWindowFlags(Qt::FramelessWindowHint);    //无边框
    this->setStyleSheet("outline: none;");            //无虚线框
}

TouchCheckDialog::~TouchCheckDialog()
{
    delete ui;
}

void TouchCheckDialog::changeLanguage()
{
    ui->retranslateUi(this);
}

void TouchCheckDialog::on_sureBtn_clicked()
{
    system("echo '2'>/agvwork/forkflag.data");
}

void TouchCheckDialog::on_cancelBtn_clicked()
{
    this->hide();
}
